package com.hyh.api.controller;

import com.hyh.common.util.JSONResult;
import com.hyh.pojo.Users;
import com.hyh.service.UsersService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 处理登录注册的控制类
 * @author hyh
 * @date 2022/6/1 15:58
 */
@RestController
@RequiredArgsConstructor
public class RegisterLoginController {

    private final UsersService usersService;

    @PostMapping("/regist")
    public JSONResult register(@RequestBody Users users){
        return null;
    }

}
